package com.lzy.principles.demo2.after;

import lombok.Setter;

/**
 * @ClassName: Rectangle
 * @Description: 长方形
 * @Author: LiuZy
 * @Date: 2022/4/4 11:45
 * @Version: 1.0
 */
@Setter
public class Rectangle implements Quadrilateral {
    private double length;
    private double width;

    @Override
    public double getLength() {
        return this.length;
    }

    @Override
    public double getWidth() {
        return this.width;
    }
}